package com.zm.bean;


/**
 * Created by zcx on 2017/7/20.
 */
public class ResultBean {

    private int code;

    private String message;

    private Object content;

    public ResultBean() {
    }

    public ResultBean(CodeEnum codeEnum, Object content) {
        this.code = codeEnum.getCode();
        this.message = codeEnum.getMessage();
        this.content = content;
    }

    public ResultBean(int code, String message, Object content) {
        this.code = code;
        this.message = message;
        this.content = content;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }
}
